/*
 * Welcome to use the TableGo Tools.
 * 
 * http://www.tablego.cn
 * 
 * http://vipbooks.iteye.com
 * http://blog.csdn.net/vipbooks
 * http://www.cnblogs.com/vipbooks
 * 
 * Author: bianj
 * Email: tablego@qq.com
 * Version: 6.1.0
 */
package com.xc.sys.entity;

import java.time.LocalDateTime;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

/**
 * SYS_LOGIN_LOG
 * 
 * @author 曾平
 * @version 1.0.0 2020-02-19
 */
@Data
public class SysLoginLogEntity implements java.io.Serializable {
    /** 版本号 */
    private static final long serialVersionUID = -5087402042330716672L;

    /* This code was generated by TableGo tools, mark 1 begin. */

    /** id */
    private String id;

    /** userId */
    private String userId;

    /** userName */
    private String userName;

    /** createTime */
    private Date heartbeatTime;

    /** descs */
    private String descs;

    /** actionType */
    private String actionType;

    /** userAgent */
    private String userAgent;

    /** ip */
    private String ip;

    /** browser */
    private String browser;

    /** sessionId */
    private String sessionId;

    /** state */
    private String state;

    /** 登录成功 */
    private Date loginTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime logoutTime;


}